/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package an_sim;

import java.io.FileNotFoundException;
//import java.util.Random;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * A main osztály
 * @author D-Torus-Team
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            // TODO code application logic here
            Node.idMaker = 0;

            Time.absorbtionTime = 3.7;
            Time.gatewayingTime = 4.1;
            Time.upTime = 1.5;
            consoleView simulator = new consoleView(Reader.reader("p:\\BME\\6. szemeszter\\in1000.DTT"));/*"c:\\Users\\Karcsi\\Documents\\NetBeansProjects\\AN_sim\\dist\\a.DTT")*/
            
                simulator.printAllSuperNode();
                simulator.fn.fullSimulate(true, null, null);
                simulator.printAllVirtualNetwork();
                
                
            
            System.out.println("\n############################################################################################");
            tableView tv = new tableView(simulator.fn);
            treeView tree=new treeView(simulator.fn);
            windowView window=new windowView(tree, tv);
        } catch (FileNotFoundException ex) {
            Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
        }


    }
}
